package com.iplant.aps.service.po.sfc;

import com.iplant.aps.service.po.bpm.BPMTaskBase;
import com.iplant.aps.service.po.oms.OMSOrder;

import java.util.ArrayList;
import java.util.List;

/**
 * 质量损失流程审批
 *
 * @author YouWang·Peng
 *         2022-8-26 09:16:02
 */
public class SFCQualityLossBPM extends BPMTaskBase {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID 存储
     */
    public int OrderID = 0;
    /**
     * 订单对应的WBS号
     */
    public String WBSNo = "";
    /**
     * 订单对应的车型ID
     */
    public int ProductID = 0;
    public String ProductNo = "";
    /**
     * 订单对应的局段ID
     */
    public int CustomerID; // 局段
    public String CustomerCode = "";
    public String CustomerName = "";
    /**
     * 订单对应的车号
     */
    public String PartNo = "";

    /**
     * 工位ID 存储
     */
    public int PartID = 0;
    /**
     * 工位名称
     */
    public String PartName = "";
    /**
     * 工位编号
     */
    public String PartCode = "";

    /**
     * 工序ID 存储
     */
    public int PartPointID = 0;
    /**
     * 工序名称
     */
    public String PartPointName = "";

    /**
     * 修程
     */
    public int LineID = 0;
    public String LineName = "";

    /**
     * 发起原因
     */
    public String Disposal = "";

    /**
     * 工艺师
     */
    public String CraftsmanIDs = "";
    /**
     * 工艺师
     */
    public String CraftsmanNames = "";
    /**
     * 技术工程师
     */
    public String TechnicalEngineerIDs = "";
    /**
     * 技术工程师
     */
    public String TechnicalEngineerNames = "";

    /**
     * 物料子项
     */
    public List<SFCQualityLossBPMItem> SFCQualityLossBPMItemList = new ArrayList<>();

    /**
     * 辅助属性
     */
    public String Remark = "";
    public String ImageList = "";

    /**
     * SAP推送状态 0未推送 1成功 2失败
     */
    public int SAPStatus = 0;
    /**
     * SAP推送失败文本内容
     */
    public String SAPStatusText = "";

    public String ImageUrl = "";

    /**
     * 质量损失大类
     */
    public String QualityLossBig = "";
    /**
     * 质量损失大类名称
     */
    public String QualityLossBigName = "";
    /**
     * 质量损失小类
     */
    public String QualityLossSmall = "";
    /**
     * 质量损失小类名称
     */
    public String QualityLossSmallName = "";

    /**
     * 版本号(区分发起端)
     */
    public String VersionNo = "";

    /**
     * 发生单位
     */
    public int OccurrenceUnitID = 0;
    /**
     * 发生单位
     */
    public String OccurrenceUnitName = "";
    /**
     * 责任单位
     */
    public int ResponsibleUnitID = 0;
    /**
     * 责任单位
     */
    public String ResponsibleUnitName = "";
    /**
     * 工位负责人
     */
    public int StationLeaderID = 0;
    /**
     * 工位负责人名称
     */
    public String StationLeaderName = "";
    /**
     * 情况是否属实
     */
    public int IsSituationTrue = 0;
    /**
     * 是否情况属实文本
     */
    public String IsSituationTrueText = "";
    /**
     * 财务部核算损失金额(元)
     */
    public double LossMoney = 0.0;
    /**
     * 返工工时(h)
     */
    public double BackHour = 0.0;
    /**
     * 是否超定额
     */
    public int IsOverQuato = 0;
    /**
     * 是否超定额文本
     */
    public String IsOverQuatoText = "";
    /**
     * 是否重大质量损失
     */
    public int IsSignificantQualityLoss = 0;
    /**
     * 是否重大质量损失文本
     */
    public String IsSignificantQualityLossText = "";

    /**
     * 是否不合格评审
     */
    public int IsNCR = 0;
    /**
     * 不合格评审单号
     */
    public String NcrTaskNo = "";
    /**
     * 不合格评审单ID
     */
    public int NcrTaskID = 0;
    /**
     * 造成质量损失的原因
     */
    public String CauseReason = "";

    // 辅助属性
    public OMSOrder OMSOrder = new OMSOrder();

    public SFCQualityLossBPM() {
        super();
    }

    public SFCQualityLossBPM(int orderID, int partID, int partPointID, int bOMID, int bOMItemID, int materialID,
            Double materialNumber, int unitID, int level) {
        super();
        OrderID = orderID;
        PartID = partID;
        PartPointID = partPointID;
    }

    public com.iplant.aps.service.po.oms.OMSOrder getOMSOrder() {
        return OMSOrder;
    }

    public void setOMSOrder(com.iplant.aps.service.po.oms.OMSOrder OMSOrder) {
        this.OMSOrder = OMSOrder;
    }

    public int getIsNCR() {
        return IsNCR;
    }

    public void setIsNCR(int isNCR) {
        IsNCR = isNCR;
    }

    public String getNcrTaskNo() {
        return NcrTaskNo;
    }

    public void setNcrTaskNo(String ncrTaskNo) {
        NcrTaskNo = ncrTaskNo;
    }

    public int getNcrTaskID() {
        return NcrTaskID;
    }

    public void setNcrTaskID(int ncrTaskID) {
        NcrTaskID = ncrTaskID;
    }

    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    public String getWBSNo() {
        return WBSNo;
    }

    public void setWBSNo(String WBSNo) {
        this.WBSNo = WBSNo;
    }

    public int getProductID() {
        return ProductID;
    }

    public void setProductID(int productID) {
        ProductID = productID;
    }

    public String getProductNo() {
        return ProductNo;
    }

    public void setProductNo(String productNo) {
        ProductNo = productNo;
    }

    public int getCustomerID() {
        return CustomerID;
    }

    public void setCustomerID(int customerID) {
        CustomerID = customerID;
    }

    public String getCustomerCode() {
        return CustomerCode;
    }

    public void setCustomerCode(String customerCode) {
        CustomerCode = customerCode;
    }

    public String getCustomerName() {
        return CustomerName;
    }

    public void setCustomerName(String customerName) {
        CustomerName = customerName;
    }

    public String getPartNo() {
        return PartNo;
    }

    public void setPartNo(String partNo) {
        PartNo = partNo;
    }

    public int getPartID() {
        return PartID;
    }

    public void setPartID(int partID) {
        PartID = partID;
    }

    public String getPartName() {
        return PartName;
    }

    public void setPartName(String partName) {
        PartName = partName;
    }

    public String getPartCode() {
        return PartCode;
    }

    public void setPartCode(String partCode) {
        PartCode = partCode;
    }

    public int getPartPointID() {
        return PartPointID;
    }

    public void setPartPointID(int partPointID) {
        PartPointID = partPointID;
    }

    public String getPartPointName() {
        return PartPointName;
    }

    public void setPartPointName(String partPointName) {
        PartPointName = partPointName;
    }

    public int getLineID() {
        return LineID;
    }

    public void setLineID(int lineID) {
        LineID = lineID;
    }

    public String getLineName() {
        return LineName;
    }

    public void setLineName(String lineName) {
        LineName = lineName;
    }

    public String getCraftsmanIDs() {
        return CraftsmanIDs;
    }

    public void setCraftsmanIDs(String craftsmanIDs) {
        CraftsmanIDs = craftsmanIDs;
    }

    public String getCraftsmanNames() {
        return CraftsmanNames;
    }

    public void setCraftsmanNames(String craftsmanNames) {
        CraftsmanNames = craftsmanNames;
    }

    public String getTechnicalEngineerIDs() {
        return TechnicalEngineerIDs;
    }

    public void setTechnicalEngineerIDs(String technicalEngineerIDs) {
        TechnicalEngineerIDs = technicalEngineerIDs;
    }

    public String getTechnicalEngineerNames() {
        return TechnicalEngineerNames;
    }

    public void setTechnicalEngineerNames(String technicalEngineerNames) {
        TechnicalEngineerNames = technicalEngineerNames;
    }

    public List<SFCQualityLossBPMItem> getSFCQualityLossBPMItemList() {
        return SFCQualityLossBPMItemList;
    }

    public void setSFCQualityLossBPMItemList(List<SFCQualityLossBPMItem> SFCQualityLossBPMItemList) {
        this.SFCQualityLossBPMItemList = SFCQualityLossBPMItemList;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getImageList() {
        return ImageList;
    }

    public void setImageList(String imageList) {
        ImageList = imageList;
    }

    public int getSAPStatus() {
        return SAPStatus;
    }

    public void setSAPStatus(int SAPStatus) {
        this.SAPStatus = SAPStatus;
    }

    public String getSAPStatusText() {
        return SAPStatusText;
    }

    public void setSAPStatusText(String SAPStatusText) {
        this.SAPStatusText = SAPStatusText;
    }

    public String getImageUrl() {
        return ImageUrl;
    }

    public void setImageUrl(String imageUrl) {
        ImageUrl = imageUrl;
    }

    public String getQualityLossBig() {
        return QualityLossBig;
    }

    public void setQualityLossBig(String qualityLossBig) {
        QualityLossBig = qualityLossBig;
    }

    public String getQualityLossSmall() {
        return QualityLossSmall;
    }

    public void setQualityLossSmall(String qualityLossSmall) {
        QualityLossSmall = qualityLossSmall;
    }

    public String getVersionNo() {
        return VersionNo;
    }

    public void setVersionNo(String versionNo) {
        VersionNo = versionNo;
    }

    public String getDisposal() {
        return Disposal;
    }

    public void setDisposal(String disposal) {
        Disposal = disposal;
    }

    public int getOccurrenceUnitID() {
        return OccurrenceUnitID;
    }

    public void setOccurrenceUnitID(int occurrenceUnitID) {
        OccurrenceUnitID = occurrenceUnitID;
    }

    public String getOccurrenceUnitName() {
        return OccurrenceUnitName;
    }

    public void setOccurrenceUnitName(String occurrenceUnitName) {
        OccurrenceUnitName = occurrenceUnitName;
    }

    public int getResponsibleUnitID() {
        return ResponsibleUnitID;
    }

    public void setResponsibleUnitID(int responsibleUnitID) {
        ResponsibleUnitID = responsibleUnitID;
    }

    public String getResponsibleUnitName() {
        return ResponsibleUnitName;
    }

    public void setResponsibleUnitName(String responsibleUnitName) {
        ResponsibleUnitName = responsibleUnitName;
    }

    public int getStationLeaderID() {
        return StationLeaderID;
    }

    public void setStationLeaderID(int stationLeaderID) {
        StationLeaderID = stationLeaderID;
    }

    public String getStationLeaderName() {
        return StationLeaderName;
    }

    public void setStationLeaderName(String stationLeaderName) {
        StationLeaderName = stationLeaderName;
    }

    public int getIsSituationTrue() {
        return IsSituationTrue;
    }

    public void setIsSituationTrue(int isSituationTrue) {
        IsSituationTrue = isSituationTrue;
    }

    public double getLossMoney() {
        return LossMoney;
    }

    public void setLossMoney(double lossMoney) {
        LossMoney = lossMoney;
    }

    public double getBackHour() {
        return BackHour;
    }

    public void setBackHour(double backHour) {
        BackHour = backHour;
    }

    public int getIsOverQuato() {
        return IsOverQuato;
    }

    public void setIsOverQuato(int isOverQuato) {
        IsOverQuato = isOverQuato;
    }

    public String getIsSituationTrueText() {
        return IsSituationTrueText;
    }

    public void setIsSituationTrueText(String isSituationTrueText) {
        IsSituationTrueText = isSituationTrueText;
    }

    public String getIsOverQuatoText() {
        return IsOverQuatoText;
    }

    public void setIsOverQuatoText(String isOverQuatoText) {
        IsOverQuatoText = isOverQuatoText;
    }

    public String getQualityLossBigName() {
        return QualityLossBigName;
    }

    public void setQualityLossBigName(String qualityLossBigName) {
        QualityLossBigName = qualityLossBigName;
    }

    public String getQualityLossSmallName() {
        return QualityLossSmallName;
    }

    public void setQualityLossSmallName(String qualityLossSmallName) {
        QualityLossSmallName = qualityLossSmallName;
    }

    public int getIsSignificantQualityLoss() {
        return IsSignificantQualityLoss;
    }

    public void setIsSignificantQualityLoss(int isSignificantQualityLoss) {
        IsSignificantQualityLoss = isSignificantQualityLoss;
    }

    public String getIsSignificantQualityLossText() {
        return IsSignificantQualityLossText;
    }

    public void setIsSignificantQualityLossText(String isSignificantQualityLossText) {
        IsSignificantQualityLossText = isSignificantQualityLossText;
    }

    public String getCauseReason() {
        return CauseReason;
    }

    public void setCauseReason(String causeReason) {
        CauseReason = causeReason;
    }
}
